package com.simple.datax.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.datax.bo.IDataxFlowActorsBO;
import com.simple.datax.dao.IDataxFlowActorsDAO;
import com.simple.datax.vo.DataxFlowActorsIdVO;
import com.simple.datax.vo.DataxFlowActorsVO;

@Service("dataxFlowActorsBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class DataxFlowActorsBOImpl implements IDataxFlowActorsBO {
	
	@Autowired
	private IDataxFlowActorsDAO dataxFlowActorsDAO;

	@Override
	public List<Object> findByFlowId(String flowId) {
		return dataxFlowActorsDAO.findByFlowId(flowId);
	}

	@Override
	public DataxFlowActorsVO findById(DataxFlowActorsIdVO id) {
		return dataxFlowActorsDAO.findById(id);
	}

	
}
